package com.share.example.classload.web;

import com.share.common.common.Result;
import com.share.example.classload.service.ClassloadService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 工程表  前端控制器
 * </p>
 *
 * @author author
 * @since 2021-11-24
 */
@RestController
public class ClassloadController {

    @Resource
    private ClassloadService classloadService;

    @ApiOperation(value = "测试类加载")
    @RequestMapping(value = "/test")
    public Result testClassLoad() {
        String msg = classloadService.testLoad();
        return Result.success(msg);
    }
}
